Apparatus and method for adjusting focal point by using imaging device for outputting phase difference signal

ABSTRACT

Apparatus and method for adjusting a focal point using an imaging device including phase difference detection pixels are disclosed. An apparatus is provided that includes an imaging device comprising an optical aperture disposed between a micro lens and a photoelectric conversion unit of each of a plurality of pixels, the optical aperture being eccentric with respect to an optical axis of the respective micro lens, the imaging device configured to output a phase difference signal; and a control unit that detects a focal position from the phase difference signal detected from entire pixels of the imaging device to drive a focus lens and that adjusts a focal point.

CROSS-REFERENCE TO RELATED PATENT APPLICATION

This application claims the priority benefit of Korean Patent Application No. 10-2011-0072572, filed on Jul. 21, 2011, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference.

BACKGROUND

1. Field

Embodiments relate to an apparatus and method for adjusting a focal point by using an imaging device including phase difference detection pixels.

2. Description of the Related Art

Devices including phase difference detection pixels that perform phase difference detection autofocus (AF) by using an imaging device for image input and control methods thereof have been proposed. Generally, phase difference detection pixels are added between imaging pixels, and phase difference is detected using the added pixels. However, only phase difference detection is performed in an area in which phase difference detection pixels are present, and the phase difference detection is not performed in any other area. In addition, the added pixels are output with low sensitivity and the output thereof is necessarily performed with contrast AF. Furthermore, there is low probability of success of AF on the output of the added pixels.

SUMMARY

Embodiments include an apparatus for adjusting a focal point by using a phase difference imaging device capable of increasing a probability of AF success and shortening AF time by performing phase difference detection using entire pixels without addition of pixels and obtaining focal position and direction therefrom.

Embodiments also include a method of adjusting a focal point by using the phase difference imaging device.

According to an embodiment, an apparatus for adjusting a focal point includes: an imaging device including an optical aperture disposed between a micro lens and a photoelectric conversion unit of each of a plurality of pixels, the optical aperture being eccentric with respect to an optical axis of the respective micro lens, the imaging device configured to output a phase difference signal; and a control unit that detects a focal position from the phase difference signal detected from entire pixels of the imaging device to drive a focus lens and that adjusts a focal point.

According to another embodiment, an apparatus for adjusting a focal point includes: an imaging device including a first pixel having a first optical aperture disposed between a first micro lens and a first photoelectric conversion unit, the first optical aperture being eccentric with respect to a first optical axis of the first micro lens and including the first optical axis, and a second pixel having a second optical aperture disposed between a second micro lens and a second photoelectric conversion unit, the second optical aperture being eccentric with respect to a second optical axis of the second micro lens, the second optical aperture either not contacting the optical axis or contacting but not including the optical axis, the imaging device configured to output phase difference signals according to an output phase difference exhibited by the first and second pixels; and a control unit that detects a focal position from a phase difference signal according to the second pixel of the imaging device, that detects a focal direction from a phase difference signal according to the first pixel of the imaging device, and that drives a focus lens to adjust a focal point.

The focal direction may be a driving direction of the focus lens to an in-focus position and may indicate a near direction or a far direction.

The control unit may control the focus lens to be driven in vicinity of the in-focus position according to the focal direction and then may control the focus lens to be driven to the in-focus position by performing contrast autofocus (AF).

The control unit may control the focus lens to be driven in the focal direction according to the phase difference signal according to the first pixel and may control the focus lens to be driven to the in-focus position by performing contrast autofocus (AF).

The second pixel may be positioned in a certain region of the imaging device to detect a focal position from the phase difference signal according to the second pixel and the first pixel may be positioned in a region other than the certain region to detect the focal direction from the phase difference signal according to the first pixel.

The control unit may detect the focal position from the phase difference signal according to the second pixel if the phase difference signal is obtainable according to the second pixel and may control the focus lens to be driven to the in-focus position, and the control unit may detect the focal direction by obtaining the phase difference signal according to the first pixel if the phase difference signal is not obtainable according to the second pixel, may control the focus lens to be driven in the detected focal direction, and may control the focus lens to be driven to the in-focus position by performing contrast autofocus (AF).

The control unit may detect the focal position from the phase difference signal according to the second pixel if the phase difference signal is obtainable according to the second pixel and may control the focus lens to be driven to the in-focus position, and the control unit may detect the focal position and the focal direction by obtaining the phase difference signal according to the first pixel if the phase difference signal is not obtainable according to the second pixel, may control the focus lens to be driven in vicinity of the in-focus position, and may control the focus lens to be driven to the in-focus position by performing contrast autofocus (AF).

According to another embodiment, a method of adjusting a focal point includes: detecting a phase difference signal from entire pixels of an imaging device including an optical aperture disposed between a micro lens and a photoelectric conversion unit of each of a plurality of pixels, the optical aperture being eccentric with respect to an optical axis of the micro lens;

outputting the phase difference signal;

detecting a focal position from the phase difference signal; and

driving a focus lens to adjust a focal point according to the detected focal position.

According to another embodiment, a method of adjusting a focal point includes: detecting a phase difference signal from an imaging device including a first pixel having a first optical aperture disposed between a first micro lens and a first photoelectric conversion unit, that first optical aperture being eccentric with respect to a first optical axis of the micro lens and including the optical axis, and a second pixel having a second optical aperture disposed between a second micro lens and a second photoelectric conversion unit, the second optical aperture being eccentric with respect to a second optical axis of the second micro lens, the second optical aperture either not contacting the optical axis or contacting but not including the optical axis, wherein the phase difference signal is detected according to an output phase difference exhibited by the first and second pixels; detecting a focal position from the phase difference signal according to the second pixel of the imaging device and detecting a focal direction from the phase difference signal according to the first pixel of the imaging device; and driving a focus lens to the detected focal position in the focal direction to adjust a focal point.

The focal direction may be a driving direction of the focus lens to an in-focus position and may indicate a near direction or a far direction.

The method may include controlling the focus lens to be driven in vicinity of the in-focus position according to a focal direction signal according to the phase difference signal and controlling the focus lens to be driven to the in-focus position by performing contrast autofocus (AF).

The method may include controlling the focus lens to be driven to a focal direction according to a focal direction signal according to the phase difference signal and controlling the focus lens to be driven to the in-focus position by performing contrast autofocus (AF).

The second pixel may be positioned in a certain region of the imaging device to detect a focal position according to a corresponding phase difference signal and the first pixel may be positioned in a region other than the certain region to detect a focal direction from a corresponding phase difference signal.

The method may include detecting a focal position from the phase difference signal if the phase difference signal is obtainable according to the second pixel and controlling the focus lens to be driven to an in-focus position, and detecting a focal direction by obtaining a phase difference signal according to the first pixel if the phase difference signal is not obtainable according to the second pixel, controlling the focus lens to be driven in the detected focal direction, and controlling the focus lens to be driven to an in-focus position by performing contrast autofocus (AF).

The method may include detecting a focal position from the phase difference signal if the phase difference signal is obtainable according to the second pixel and controlling the focus lens to be driven to an in-focus position, and detecting a focal position and a focal direction by obtaining the phase difference signal according to the first pixel if the phase difference signal is not obtainable from the second pixel, controlling the focus lens to be driven in vicinity of the in-focus position, and controlling the focus lens to be driven to the in-focus position by performing contrast autofocus (AF).

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other features and advantages will become more apparent by describing in detail exemplary embodiments with reference to the attached drawings in which:

FIG. 1 is a block diagram illustrating a structure of an apparatus for adjusting a focal point by using a phase difference imaging device, according to an embodiment;

FIG. 2 is a diagram for explaining a principle of phase difference pixels by using the imaging device of FIG. 1, according to an embodiment;

FIGS. 3A and 3B are graphs for explaining phase difference of light receiving pixels according to FIG. 2, according to an embodiment;

FIG. 4 is a diagram illustrating a structure of pixels constituting a general imaging device;

FIG. 5 is a diagram illustrating a structure of pixels constituting the phase difference imaging device of FIG. 1, according to an embodiment;

FIG. 6 is a diagram illustrating a structure of pixels constituting an imaging device, according to another embodiment;

FIGS. 7A and 7B are diagrams illustrating a relationship between a position of masks of phase difference pixels of the imaging device of FIG. 5 and imaging lenses, according to an embodiment;

FIG. 8 illustrates a general Bayer pattern pixel structure of an imaging device;

FIGS. 9A and 9B illustrate phase difference pixels of the imaging device of FIGS. 7A and 7B configured in a horizontal direction based on the Bayer pattern pixel structure of FIG. 8, according to an embodiment;

FIGS. 10A and 10B illustrate phase difference pixels of the imaging device of FIGS. 7A and 7B configured in a vertical direction based on the Bayer pattern pixel structure of FIG. 8, according to an embodiment;

FIGS. 11A and 11B are diagrams illustrating a relationship between a position of masks of phase difference pixels and imaging lenses, according to another embodiment;

FIGS. 12A and 12B illustrate phase difference pixels of the imaging device of FIGS. 11A and 11B configured in a horizontal direction based on the Bayer pattern pixel structure of FIG. 8, according to an embodiment;

FIGS. 13A and 13B illustrate phase difference pixels of the imaging device of FIGS. 11A and 11B configured in a vertical direction based on the Bayer pattern pixel structure of FIG. 8, according to an embodiment;

FIGS. 14A and 14B illustrate phase difference pixels of the imaging device of FIGS. 7A and 7B configured in horizontal and vertical directions based on the Bayer pattern pixel structure of FIG. 8, according to an embodiment;

FIG. 15 illustrates a combined configuration of the phase difference pixels of the imaging devices of FIGS. 9A, 9B, 10A, 10B, 13A, 13B, 14A, and 14B, according to an embodiment;

FIG. 16 illustrates a configuration of the phase difference pixels of the imaging device of FIGS. 14A and 14B, according to an embodiment;

FIG. 17 illustrates a combined configuration of the phase difference pixels of the imaging devices of FIG. 15, according to another embodiment;

FIG. 18 is a diagram for explaining a principle of phase difference pixels with high focal position detection accuracy, according to an embodiment;

FIGS. 19A and 19B are diagrams illustrating a relationship between a position of masks of phase difference pixels and imaging lenses for F2.8, according to an embodiment;

FIGS. 20A and 20B illustrate phase difference pixels of the imaging device of FIGS. 19A and 19B configured in a horizontal direction by using the imaging lenses for F2.8 of FIGS. 19A and 19B, according to an embodiment;

FIG. 21 illustrates a combined configuration of the phase difference pixels of the imaging devices of FIGS. 9A, 9B, 20A, and 20B, according to an embodiment;

FIGS. 22A and 22B illustrate the phase difference pixels illustrated in FIGS. 19A and 19B configured in a horizontal direction, according to another embodiment;

FIGS. 23A and 23B illustrate the phase difference pixels illustrated in FIGS. 19A and 19B configured in a horizontal direction, according to another embodiment;

FIG. 24 illustrates a combined configuration of the phase difference pixels illustrated in FIGS. 22A, 22B, 23A, and 23B, according to an embodiment;

FIGS. 25A and 25B illustrate the phase difference pixels illustrated in FIGS. 19A and 19B configured in a horizontal direction, according to another embodiment;

FIGS. 26A and 26B illustrate the phase difference pixels of FIGS. 25A and 25B configured in a vertical direction, according to an embodiment;

FIG. 27 illustrates a combined configuration of the phase difference pixels of FIGS. 25A, 25B, 26A, and 26B, according to an embodiment;

FIG. 28 illustrates a combined configuration of the phase difference pixels of FIG. 27, according to another embodiment;

FIGS. 29A and 29B illustrate a configuration of the phase difference pixels of FIGS. 25A and 25B, according to another embodiment;

FIGS. 30A and 30B illustrate an MA configuration of phase difference pixels for detecting a focal position by detecting phase difference with respect to right, upper, left, and lower directions, according to an embodiment;

FIGS. 31A and 31B illustrate an NA configuration of phase difference pixels for detecting a focal position by detecting phase difference with respect to left, upper, right, and lower directions, according to an embodiment;

FIGS. 32A and 32B illustrate an MB configuration of phase difference pixels for detecting a focal direction by detecting phase difference with respect to right, upper, left, and lower directions, according to an embodiment;

FIGS. 33A and 33B illustrate an NB configuration of phase difference pixels for detecting a focal direction by detecting phase difference with respect to left, upper, right, and lower directions, according to an embodiment;

FIG. 34 illustrates a combined configuration of the phase difference pixels of FIGS. 30A, 30B, 31A, 31B, 32A, 32B, 33A, and 33B, according to an embodiment;

FIGS. 35A and 35B are flowcharts illustrating an operation of a method of adjusting a focal point by using a phase difference imaging device, according to an embodiment;

FIG. 36 is a flowchart illustrating an operation of a method of adjusting a focal point by using a phase difference imaging device, according to another embodiment; and

FIGS. 37A and 37B are flowcharts illustrating an operation of a method of adjusting a focal point by using a phase difference imaging device, according to another embodiment.

DETAILED DESCRIPTION

Particular embodiments will be illustrated in the drawings and described in detail in the written description; however, this should not be construed as limiting, and it is to be appreciated that all changes, equivalents, and substitutes that do not depart from the spirit and technical scope are encompassed within the invention as recited in the following claims. In the description, certain detailed explanations of related art are omitted when it is deemed that they may unnecessarily obscure the essence of the invention as recited in the following claims.

Embodiments will now be described more fully with reference to the accompanying drawings, in which exemplary embodiments are shown. In the drawings, like reference numerals denote like elements, and thus a detailed description thereof is provided once.

FIG. 1 is a block diagram illustrating a structure of an apparatus for adjusting a focal point by using a phase difference imaging device, according to an embodiment.

Referring to FIG. 1, a digital image processing device 100 and a lens are configured separate from each other, but an imaging device 108 is configured in an integrated manner with the digital image processing device 100. In addition, the digital image processing device 100 including the imaging device 108 may perform phase difference autofocus (AF) and contrast AF.

The digital image processing device 100 includes an imaging lens 101 including a focus lens 102. The digital image processing device 100 has focus detection capability, and thus the focus lens 102 may be operated. The imaging lens 101 includes a lens operation unit 103 that operates the focus lens 102, a lens position detection unit 104 that detects a position of the focus lens 102, and a lens control unit 105 that controls the focus lens 102. The lens control unit 105 transmits information on focus detection to a CPU 106 of the digital image processing device 100.

The digital image processing device 100 includes the imaging device 108, and thus captures light that is incident on and transmitted through the imaging lens 101, thereby generating an image signal. The imaging device 108 may include a plurality of photoelectric conversion units (not shown) arranged in a matrix form and a transfer path (not shown) that transfers charges from the photoelectric conversion units, thereby reading an image signal.

An imaging device control unit 107 generates a timing signal, thereby controlling the imaging device 108 to capture an image. In addition, the imaging device control unit 107 sequentially reads out image signals when accumulation of charges on each of a plurality of scan lines is terminated.

The read-out image signals are converted to digital image signals by an A/D conversion unit 110 via an analogue signal processing unit 109, and then input to an image input controller 111 and processed therein.

The digital image signals input to the image input controller 111 are subjected to auto white balance (AWB), auto exposure (AE) and AF calculations respectively performed by an AWB detection unit 116, an AE detection unit 117, and an AF detection unit 118. The AF detection unit 118 outputs a detection value with respect to a contrast value during contrast AF, and outputs pixel information to the CPU 106 during phase difference AF, thereby allowing phase difference calculation to be performed in the CPU 106. The phase difference calculation performed by the CPU 106 may be obtained by calculating a correlation between a plurality of pixel row signals. As a result of the phase difference calculation, a position or direction of a focal point may be obtained.

The image signals are also stored in a synchronous dynamic random access memory 119 (SDRAM), that is, a temporary memory. A digital signal processing unit 112 performs a series of image signal processing operations such as gamma correction to create a displayable live view image or captured image. A compression/decompression unit 113 compresses an image signal in a JPEG compression format or an H.264 compression format or decompresses the image signal when image signal processing is performed. An image file including the image signal compressed in the compression/decompression unit 113 is transmitted to a memory card 122 via a media controller 121 to be stored therein.

In FIG. 1, the CPU 106, the analogue signal processing unit 109, the A/D conversion unit 110, the image input controller 111, the digital signal processing unit 112, the compression/decompression unit 113, a video controller 114, the AWB detection unit 116, the AE detection unit 117, the AF detection unit 118, and the media controller 121 may be referred to as an image processing circuit. The image processing circuit may be commonly referred to as an integrated circuit (IC) and the CPU 106 may be the image processing circuit.

Image information for display is stored in a video RAM 120 (VRAM), and an image is displayed on an LCD 115 via the video encoder 114. The CPU 106 controls overall operations of each unit of the digital image processing device 100. An electrically erasable programmable read-only memory (EEPROM) 123 stores and maintains information for correcting defects of pixels of the imaging device 108 or adjustment information on the pixel defects. A manipulation unit 124 is a unit through which various commands of a user are input to manipulate the digital image processing device 100. The manipulation unit 124 may include various buttons such as a shutter-release button, a main button, a mode dial, a menu button, or the like.

FIG. 2 is a diagram for explaining a principle of phase difference pixels by using the imaging device 108 of FIG. 1, according to an embodiment.

Light of a subject that has transmitted through an imaging lens 11 transmits through a micro lens array 14 to be incident onto light receiving pixels R(15) and L(16). Masks 17 and 18 for restricting pupils 12 and 13 of the imaging lens 11, or restricted optical apertures, are respectively formed in portions of the light receiving pixels R(15) and L(16). Among the pupils 12 and 13 of the imaging lens 11, light from the pupil 12 above an optical axis 10 of the imaging lens 11 is incident onto the light receiving pixel L(16), and light from the pupil 13 below the optical axis 10 of the imaging lens 11 is incident onto the light receiving pixel R(15). Light that is reverse transmitted to the pupils 12 and 13 by the micro lens array 14 is received by the light receiving pixels R(15) and L(16) by the masks 17 and 18 or the optical apertures, which is referred to as pupil division.

FIGS. 3A and 3B are graphs for explaining phase difference of light receiving pixels according to FIG. 2, according to an embodiment. Continuous output of the light receiving pixels R(15) and L(16) by pupil division by the micro lens array 14 is illustrated in FIGS. 3A and 3B. In FIGS. 3A and 3B, a horizontal axis denotes positions of the light receiving pixels R(15) and L(16), and a vertical axis denotes output values of the light receiving pixels R(15) and L(16). Referring to FIGS. 3A and 3B, graphs showing output of the light receiving pixels R(15) and L(16) exhibit the same shape, but exhibit different phases with respect to position. This is due to image formation positions of light from the eccentrically formed pupils 12 and 13 of the imaging lens 11 being different from each other. Thus, when focus points of light from the eccentrically formed pupils 12 and 13 are inconsistent with each other, the light receiving pixels R(15) and L(16) exhibit an output phase difference, as illustrated in FIG. 3A. On the other hand, when focus points of light from the eccentric pupils 12 and 13 are consistent with each other, images are formed at the same position as illustrated in FIG. 3B. In addition, a direction of focus may be determined from the focus difference. A front-focusing indicates that an object is in a front focus state, and the front-focusing is illustrated in FIG. 3A. Referring to FIG. 3A, the phase of the output of the light receiving pixel R(15) is shifted further to the left than that in the focused phase, and the phase of the output of the light receiving pixel L(16) is shifted further to the right than that in the focused phase. In contrast, a back-focusing indicates that an object is in a back focus state. In this case, the phase of the output of the light receiving pixel R(15) is shifted further to the right than that in the focused phase, and the phase of the output of the light receiving pixel L(16) is shifted further to the left than that in the focused phase. The shift amount between the phases of the light receiving pixels R(15) and L(16) may be converted to a deviation amount between the focuses.

FIG. 4 is a diagram illustrating a structure of pixels constituting a general imaging device.

Referring to FIG. 4, two pixels are illustrated. The two pixels include micro lenses 21, a surface layer 22, a color filter layer 23, a wire layer 24, photodiode layers 25, and a substrate layer 26. A photoelectric conversion unit of each pixel may include at least portions of the wire layer 24 and the photodiode layer 25.

Light from a subject enters the photodiode layer 25 of each pixel via the micro lenses 21, and a photodiode in the photodiode layer 25 of each pixel generates charges that serve as pixel information. The generated charges are released through the wire layer 24. Such incident light from a subject is all light that has transmitted through an exit pupil of an imaging lens, and luminance information corresponding to a subject position may be obtained corresponding to a pixel position. In general, the color filter layer 23 may be a layer including pixels of red (R), green (G), and blue (B). Also, the color filter layer 23 may include pixels of cyan (C), magenta (M), and yellow (Y).

FIG. 5 is a diagram illustrating a structure of pixels constituting the phase difference imaging device 108 of FIG. 1, according to an embodiment. An exemplary embodiment of phase difference pixels obtained by forming masks 27 and 28 in optical apertures of the imaging device illustrated in FIG. 4 so as to obtain R and L signals as illustrated in FIGS. 3A and 3B is illustrated in FIG. 5.

Referring to FIG. 5, a mask 27 for R pixels and a mask 28 for L pixels are each interposed between the micro lenses 21 and the photodiode layers 25, but the positions of the masks 27 and 28 are not limited to the example illustrated in FIG. 5. For example, the masks 27 and 28 may be interposed somewhere else therebetween. In FIG. 5, optical axes of the micro lenses 21 are each represented by a dashed dotted line, and paths through which light is incident from the micro lenses 21 are each represented by a broken line. The amounts of light incident on the photodiode layers 25 are restricted by 50% by the masks 27 and 28, respectively, when the masks 27 and 28 correspond to the optical axes of the micro lenses 21.

FIG. 6 is a diagram illustrating a structure of pixels constituting the imaging device 108, according to another embodiment. In this embodiment, instead of formation of masks in the optical apertures of the imaging device 108, the wire layer 24 is disposed on one side of each pixel and thus a mask effect may be obtained.

When an imaging device is designed, an aperture ratio in each of pixels is generally restricted to about 40% because each pixel includes the wire layer 24. In FIG. 6, the wire layer 24 is disposed in an end portion of each pixel, thereby completing formation of pixels R and L serving as phase difference pixels. In this embodiment, however, the wire layer 24 needs to be configured for a pixel R and a pixel L. Thus, in an overall configuration, the wire layer 24 is disposed having a zigzag configuration.

Hereinafter, for convenience of explanation, an actual aperture ratio of pixels of 40% will be described as an aperture ratio of 100%. For example, an aperture ratio of 70% in the following description indicates an actual aperture ratio of 28%.

FIGS. 7A and 7B are diagrams illustrating a relationship between a position of masks of phase difference pixels of the imaging device of FIG. 5 and imaging lenses, according to an embodiment.

FIG. 7A illustrates an imaging lens 31, an R pixel 33 of the imaging device of FIG. 5, a top view of a mask 34, and a pupil 32 that is on the imaging lens 31 and incident on the mask 34. FIG. 7B illustrates an imaging lens 36, an L pixel 38 of the imaging device of FIG. 5, a top view of a mask 39, and a pupil 37 that is on the imaging lens 36 and incident on the mask 39.

Light that has transmitted through the pupil 32 of the imaging lens 31 or the pupil 37 of the imaging lens 36 is incident on the R pixel 33 or the L pixel 38, respectively. The masks 34 and 39 each have an aperture ratio of about 50% with respect to the optical axes of the imaging lenses 31 and 36. In other words, the R and L pixels 33 and 38 each have an aperture ratio of about 50% with respect to the optical axes of the imaging lenses 31 and 36, each optical aperture of which does not contact the optical axes or contacts but does not include the optical axes.

The R pixel 33 and the L pixel 38 illustrated in FIGS. 7A and 7B may not necessarily be arranged adjacent to each other. In addition, FIGS. 7A and 7B illustrate a configuration of pixels arranged in vicinity of the optical axes of the imaging lenses 31 and 36. If pixels are arranged further away from the optical axes of the imaging lenses 31 and 36, to correct the cos⁴ θ law, positions of the optical axes of the imaging lenses 31 and 36 and the masks 34 and 39 are shifted in an external direction of a screen.

FIG. 8 illustrates a general Bayer pattern pixel structure of an imaging device.

Referring to FIG. 8, color filters of three colors, i.e., red (R), green (G), and blue (B), are arranged and 4 pixels are configured as a single unit. In this regard, two G pixels are arranged in the unit.

FIGS. 9A and 9B illustrate phase difference pixels of the imaging device of FIGS. 7A and 7B configured in a horizontal direction based on the Bayer pattern pixel structure of FIG. 8, according to an embodiment.

FIG. 9A illustrates a configuration of a color filter and the R pixel 33 and a configuration of a color filter and the L pixel 38, and FIG. 9B illustrates arrangements of the masks 34 and 39. In FIG. 9A, RLa denotes that a mask for the L pixel 38 is formed in a red (R) color filter.

In FIGS. 9A and 9B, the R and L pixels 33 and 38 each have an aperture ratio of about 50% with respect to the optical axes of the imaging lenses 31 and 36, each optical aperture of which does not contact the optical axes or contacts but does not include the optical axes. In this regard, the masks 34 and 39 illustrated in FIG. 9B are referred to as an “A-type mask” for convenience of explanation, and thus a configuration of phase difference pixels in a horizontal direction is referred to as HA.

In FIGS. 9A and 9B, L pixels are arranged in a first row 41 and a second row 42, and R pixels are arranged in a third row 43 and a fourth row 44. Pixel row signals of each pixel of the first row 41 and the second row 42 or a sum (binning output) of pixel row signals of each L pixel of the first row 41 and each pixel of the second row 42, and pixel row signals of each pixel of the third row 43 and the fourth row 44 or a sum (binning output) of pixel row signals of each pixel of the third row 43 and the fourth row 44 are obtained as illustrated in FIGS. 3A and 3B to calculate a phase difference between the R and L pixels. In this regard, areas for obtaining binning output are not limited to the above example, and binning output with respect to wider areas may be performed. In addition, binning output may be performed on pixels of the same color. When binning output of pixels of the same color is obtained, the binning output may be used in a live view image. The pixel row signals are obtained as a line image in a horizontal direction. Thus, an image with a contrast change in a horizontal direction may be detected.

As described above, the HA is composed of pixels having an aperture ratio of about 50% with respect to the optical axes of the imaging lenses 31 and 36, each optical aperture of which does not contact the optical axes or contacts but does not include the optical axes, and thus crosstalk between adjacent pixels does not occur and a position of a focal point in a horizontal direction of a subject may be obtained from the phase difference information.

FIGS. 10A and 10B illustrate phase difference pixels of the imaging device of FIGS. 7A and 7B configured in a vertical direction based on the Bayer pattern pixel structure of FIG. 8, according to an embodiment.

FIG. 10A illustrates a configuration of a color filter and the R pixel 33 and a configuration of a color filter and the L pixel 38, and FIG. 10B illustrates arrangements of the masks 34 and 39.

In FIGS. 10A and 10B, the R and L pixels 33 and 38 each have an aperture ratio of about 50% with respect to the optical axes of the imaging lenses 31 and 36, each optical aperture of which does not contact the optical axes or contacts but does not include the optical axes. In this regard, the masks 34 and 39 illustrated in FIG. 10B are referred to as an “A-type mask” for convenience of explanation, and thus a configuration of phase difference pixels in a vertical direction is referred to as VA.

In FIGS. 10A and 10B, L pixels are arranged in a first row 51 and a second row 52, and R pixels are arranged in a third row 53 and a fourth row 54. Pixel row signals of each pixel of the first row 51 and the second row 52 or a sum (binning output) of pixel row signals of each L pixel of the first row 51 and each pixel of the second row 52, and pixel row signals of each pixel of the third row 53 and the fourth row 54 or a sum (binning output) of pixel row signals of each pixel of the third row 53 and the fourth row 54 are obtained as illustrated in FIGS. 3A and 3B to calculate a phase difference between the R and L pixels.

The pixel row signals are obtained as a line image in a vertical direction. The pixel row signals of the VA may be used to detect an image with a contrast change in a vertical direction, and thus a position of a focal point in a vertical direction of a subject may be obtained from the phase difference information.

FIGS. 11A and 11B are diagrams illustrating a relationship between a position of masks of phase difference pixels and imaging lenses, according to another embodiment.

FIG. 11A illustrates an imaging lens 61, an R pixel 63 of the imaging device of FIG. 5, a top view of a mask 64, and a pupil 62 that is on the imaging lens 61 and incident on the mask 64. FIG. 11B illustrates an imaging lens 66, an L pixel 68 of the imaging device of FIG. 5, a top view of a mask 69, and a pupil 67 that is on the imaging lens 66 and incident on the mask 69.

Light that has transmitted through the pupil 62 of the imaging lens 61 and light that has transmitted through the pupil 67 of the imaging lens 66 are respectively incident on the R pixel 63 and the L pixel 68. While the masks 34 and 39 are respectively positioned to allow the R and L pixels 33 and 38 of the embodiment of FIGS. 7A and 7B to have an aperture ratio of 50% with respect to the optical axes, the masks 64 and 69 are respectively positioned to allow the R and L pixels 63 and 68 to have an aperture ratio of 50% or greater with respect to the optical axes, for example, 75%. In other words, in this embodiment, the R pixel 63 has an aperture ratio of 50% or greater with respect to the optical axis of the imaging lens 61, an optical aperture of which includes the optical axis, and the L pixel 68 has an aperture ratio of 50% or greater with respect to the optical axis of the imaging lens 66, an optical aperture of which includes the optical axis. The optical aperture of the R pixel 63 is centered to the right of the optical axis of the imaging lens 61, and the optical aperture of the L pixel 68 is centered to the left of the optical axis of the imaging lens 66.

In the R and L pixels 33 and 38 of FIGS. 7A and 7B, there is no overlapped portion between the pupils 32 and 37, and thus phase difference information thereof does not overlap each other, resulting in a relatively small autofocus (AF) error. On the other hand, darker images are obtained as compared with the R and L pixels 63 and 68 of FIGS. 11A and 11B. In contrast, in the R and L pixels 63 and 68 of FIGS. 11A and 11B, there is an overlapped portion between the pupils 62 and 67, and thus phase difference information thereof overlaps each other, resulting in a relatively large AF error. On the other hand, brighter images are obtained as compared with the R and L pixels 33 and 38 of FIGS. 7A and 7B.

FIGS. 12A and 12B illustrate phase difference pixels of the imaging device of FIGS. 11A and 11B configured in a horizontal direction based on the Bayer pattern pixel structure of FIG. 8, according to an embodiment.

FIG. 12A illustrates a configuration of a color filter and the R pixel 63 and a configuration of a color filter and the L pixel 68, and FIG. 12B illustrates arrangements of the masks 64 and 69.

While the R and L pixels illustrated in FIGS. 9A and 9B each have an aperture ratio of about 50% with respect to the optical axes of the imaging lenses 31 and 36, and the optical aperture of each pixel does not contact the optical axes or contacts but does not include the optical axes, the R and L pixels of FIGS. 12A and 12B each have an aperture ratio of about 75% with respect to the optical axes of the imaging lenses 61 and 66, and the optical aperture of each pixel includes the optical axes.

In this regard, the masks 64 and 69 are referred to as a “B-type mask” for convenience of explanation, and thus a configuration of phase difference pixels in a horizontal direction may be referred to as HB.

In FIGS. 12A and 12B, L pixels are arranged in a first row 71 and a second row 72, and R pixels are arranged in a third row 73 and a fourth row 74. Pixel row signals of each pixel of the first row 71 and the second row 72 or a sum (binning output) of pixel row signals of each L pixel of the first row 71 and each pixel of the second row 72, and pixel row signals of each pixel of the third row 73 and the fourth row 74 or a sum (binning output) of pixel row signals of each pixel of the third row 73 and the fourth row 74 are obtained as illustrated in FIGS. 3A and 3B to calculate a phase difference between the R and L pixels.

With respect to the HB of FIGS. 12A and 12B, the optical apertures of the HB are sufficiently big that images may be satisfactorily displayed by the imaging device. However, when phase difference detection is performed on the HB, the optical apertures of the HB each include the optical axes of the imaging lenses, and thus crosstalk between adjacent pixels occurs. In other words, L pixel information is included in shift information by the R pixels, and thus transverse shift information is included therein. Thus, it is difficult to obtain information on focal point position detection from phase difference information that may be obtained from the HB, but a focal direction of a subject may be obtained therefrom.

FIGS. 13A and 13B illustrate phase difference pixels of the imaging device of FIGS. 11A and 11B configured in a vertical direction based on the Bayer pattern pixel structure of FIG. 8, according to an embodiment.

FIG. 13A illustrates a configuration of a color filter and the R pixel 63 and a configuration of a color filter and the L pixel 68, and FIG. 13B illustrates arrangements of the masks 64 and 69. In FIG. 13A, RLb denotes that a mask for the L pixel 68 is formed in a red (R) color filter.

While the R and L pixels illustrated in FIGS. 9A and 9B each have an aperture ratio of about 50% with respect to the optical axes of the imaging lenses 31 and 36, and the optical aperture of each pixel does not contact the optical axes or contacts but does not include the optical axes, the R and L pixels of FIGS. 13A and 13B each have an aperture ratio of about 75% with respect to the optical axes of the imaging lens 61 and 66, and the optical aperture of each pixel includes the optical axes.

In this regard, the masks 64 and 69 are referred to as a “B-type mask” for convenience of explanation, and thus a configuration of phase difference pixels in a vertical direction may be referred to as VB.

In FIGS. 13A and 13B, L pixels are arranged in a first row 81 and a second row 82, and R pixels are arranged in a third row 83 and a fourth row 84. Pixel row signals of each pixel of the first row 81 and the second row 82 or a sum (binning output) of pixel row signals of each L pixel of the first row 81 and each pixel of the second row 82, and pixel row signals of each pixel of the third row 83 and the fourth row 84 or a sum (binning output) of pixel row signals of each pixel of the third row 83 and the fourth row 84 are obtained as illustrated in FIGS. 3A and 3B to calculate a phase difference between the R and L pixels.

Phase difference information that may be obtained from the VB may be used to obtain a focal direction of a subject, like the HB of FIGS. 12A and 12B.

FIGS. 14A and 14B illustrate phase difference pixels of the imaging device of FIGS. 7A and 7B configured in horizontal and vertical directions based on the Bayer pattern pixel structure of FIG. 8, according to an embodiment.

The R and L pixels each have an aperture ratio of 50%, and thus a focal direction may be obtained. A configuration of phase difference pixels in horizontal and vertical directions is referred to as HVA. In the HVA configuration, G pixels that are greater in number than R and B pixels are used as a detection pixel in horizontal and vertical directions.

FIG. 15 illustrates a combined configuration of the phase difference pixels of the imaging devices of FIGS. 9A, 9B, 10A, 10B, 13A, 13B, 14A, and 14B, according to an embodiment.

Actually, an imaging device may be, for example, a 14.6M pixel imaging device having a pixel configuration in which 4670 pixels are arranged in a horizontal direction and 3100 pixels are arranged in a vertical direction. In this embodiment, however, smaller pixels are arranged for explanation in diagram form.

Referring to FIG. 15, HAs and VAs are arranged at a center area of an imaging device, and HVAs are arranged where HAs and VAs cross each other. VBs are arranged at left and right regions of the center area, and HBs are arranged in the vicinity of the center area other than the areas where the HAs, the VAs, and the HVAs are arranged. In this regard, the VAs are arranged around the HBs.

The arrangement of the HAs and HBs at the center area of the imaging device, which is an optical condition for pupils of the imaging device, is for preventing a vignetting phenomenon. For example, a lens with an aperture of F6.7 or less may obtain high focal position detection accuracy because an optical vignetting phenomenon does not occur. Since the optical vignetting phenomenon occurs at an area other than the center area of the imaging device, HBs and VBs for focal direction detection, which do not cause problems in terms of density, are arranged. Since the optical vignetting phenomenon increases according to a distance from an optical axis of an imaging lens and it is desirable that R and L pixels are relatively symmetrically arranged in spite of the occurrence of the vignetting phenomenon, the HBs are arranged at the center area and upper and lower areas of the imaging device and the VBs are arranged at left and right areas of the imaging device. Furthermore, in an actual imaging device, VAs are arranged in the HB configuration instead of HAs.

In imaging devices to be described later, phase difference pixels for focal position detection may also be discretely arranged in a configuration of phase difference pixels for focal direction detection, such as HB pixels or VB pixels.

In addition, in the digital image processing device 100, HAs and VAs for focal position detection are primarily used during AF, and HBs and VBs for focal direction detection are used in an auxiliary manner.

FIG. 16 illustrates a configuration of the phase difference pixels of the imaging device of FIGS. 14A and 14B, according to an embodiment.

Referring to FIG. 16, HAs are arranged at a center area of an imaging device, and VAs are arranged at an area other than the center area.

The pixels of the imaging device of FIG. 6 in which the wire layers are disposed in a zigzag configuration may have the pixel configuration of FIG. 16. The imaging device may have the same image quality as that of a general imaging device, and thus a focal position may be detected using all the pixels at once. In this regard, the wire layers of the R and L pixels are disposed in a zigzag configuration.

FIG. 17 illustrates a combined configuration of the phase difference pixels of the imaging devices of FIG. 15, according to another embodiment.

Referring to FIG. 17, the pixels are configured in such a manner that detection in horizontal and vertical directions is performed in each area of the imaging device. Multi-point detection may be performed at nine points composed of HAs, VAs, HVAs, and HBs arranged at a central area of an imaging device.

A detailed description of the imaging device for phase difference detection including an imaging lens with an aperture of F6.7 or less has been provided. A bright imaging lens has decreased focal position detection accuracy. With respect to a lens with an aperture of more than F2.8, the imaging device includes phase difference pixels with high focal position detection accuracy.

FIG. 18 is a diagram for explaining a principle of phase difference pixels with high focal position detection accuracy, according to an embodiment.

Referring to FIG. 18, positions of an imaging lens and exit pupils of the imaging lens are illustrated as in FIG. 2. In FIG. 18, an exit pupil 81 for F2.8 of the imaging lens, a micro lens 82, an exit pupil 83 for F6.7, a pupil 86 for a phase difference R pixel in the exit pupil 83 for F6.7, a pupil 85 for a phase difference L pixel in the exit pupil 83 for F6.7, a pupil 87 for a phase difference R pixel in the exit pupil 81 for F2.8, and a pupil 84 for a phase difference L pixel in the exit pupil 81 for F2.8 are illustrated.

The pupils 84 and 87 for F2.8 are positioned at a distance from an optical axis of the imaging lens. In this case, an angle of light incident on phase difference pixels increases, and when a focal point of the light is changed, there is a big change in a position of image formation. Thus, in such a configuration in which an incident angle of light increases, a phase difference change is detected at a high level, and thus focal position detection accuracy is high.

FIGS. 19A and 19B are diagrams illustrating a relationship between a position of masks of phase difference pixels and imaging lenses for F2.8, according to an embodiment.

FIG. 19A illustrates an imaging lens 91, an R pixel 93, a top view of a mask 94, and a pupil 92 that is on the imaging lens 91 and incident on the mask 94. FIG. 19B illustrates an imaging lens 96, an L pixel 98, a top view of a mask 99, and a pupil 97 that is on the imaging lens 96 and incident on the mask 99.

Light that has transmitted through the pupil 92 of the imaging lens 91 or the pupil 97 of the imaging lens 96 is incident on the R pixel 93 or the L pixel 98, respectively. While the masks 34 and 39 illustrated in FIGS. 7A and 7B are respectively positioned to allow the R and L pixels 33 and 38 to have an aperture ratio of 50% with respect to the optical axes, the masks 94 and 99 illustrated in FIGS. 19A and 19B are respectively positioned to allow the R and L pixels 93 and 98 to have an aperture ratio of 25% with respect to optical axes of the imaging lenses 91 and 96. In this regard, optical apertures of the R and L pixels 93 and 98 are respectively positioned at a distance further from the optical axes of the imaging lenses 91 and 96, as compared to pixels for F6.7. Furthermore, when the size of pixels increases, optical apertures of the pixels are not made smaller in size, but the optical apertures may be positioned at a distance further from an optical axis of an imaging lens.

FIGS. 20A and 20B illustrate phase difference pixels of the imaging device of FIGS. 19A and 19B configured in a horizontal direction by using the imaging lenses for F2.8 of FIGS. 19A and 19B, according to an embodiment.

FIG. 20A illustrates a configuration of a color filter and the R pixel 93 and a configuration of a color filter and the L pixel 98, and FIG. 20B illustrates arrangements of the masks 94 and 99.

Referring to FIGS. 20A and 20B, the R and L pixels 93 and 98 each have an aperture ratio of about 25%, each optical aperture of which does not include or contact the optical axes of the imaging lenses 91 and 96, and the optical apertures of the R and L pixels 93 and 98 are respectively positioned at a distance from the optical axes of the imaging lenses 91 and 96. A configuration of phase difference pixels in a horizontal direction as illustrated in FIGS. 20A and 20B is referred to as HA25.

Phase difference information that may be obtained from HA25 is focal position detection information, and focal position detection information may be obtained with high accuracy. Although not illustrated in FIGS. 20A and 20B, phase difference pixels may also be configured in a vertical direction, and such a configuration is referred to as VA25.

FIG. 21 illustrates a combined configuration of the phase difference pixels of the imaging devices of FIGS. 9A, 9B, 20A, and 20B, according to an embodiment.

Referring to FIG. 21, a plurality of HA25s are arranged at a central area of an imaging device, and a plurality of VA25s are arranged on upper and lower sides of the central area. Although not illustrated in FIG. 21, HAs are interposed between the HA25s and the VA25s. The plurality of HA25s may be arranged at the central area of the imaging device if a lens system that is brighter than an F2.8 lens is used, while the HAs may be arranged if a lens system using other lenses is used.

HAs are arranged on upper and lower sides of the area in which the plurality of VA25s are arranged, and VAs are arranged on left and right sides of the areas in which the plurality of VA25s, the plurality of HA25s, and the HAs are arranged. In addition, HBs are arranged on upper and lower sides of the areas in which the HAs and the VAs are arranged, and VBs are arranged on left and right sides of the areas in which the HBs and the VAs are arranged.

In other words, FIG. 21 illustrates a configuration of F2.8 and F6.7 phase difference pixels for focal position detection arranged at a central area of an imaging device, a configuration of F6.7 phase difference pixels for focal position detection arranged at an outer side of the central area, and a configuration of phase difference pixels for focal direction detection arranged at an outermost side of the central area.

FIGS. 22A and 22B illustrate the phase difference pixels illustrated in FIGS. 19A and 19B configured in a horizontal direction, according to another embodiment.

FIG. 22A illustrates a configuration of a color filter and the R pixel 93 and a configuration of a color filter and the L pixel 98, and FIG. 22B illustrates arrangements of the masks 94 and 99.

In FIGS. 22A and 22B, phase difference pixels for focal direction detection configured to have an aperture ratio of 70% are illustrated, and such a configuration is referred to as HB70. Although not illustrated in FIGS. 22A and 22B, phase difference pixels may also be configured in a vertical direction, and such a configuration is referred to as VB70.

FIGS. 23A and 23B illustrate the phase difference pixels illustrated in FIGS. 19A and 19B configured in a horizontal direction, according to another embodiment.

FIG. 23A illustrates a configuration of a color filter and the R pixel 93 and a configuration of a color filter and the L pixel 98, and FIG. 23B illustrates arrangements of the masks 94 and 99.

In FIGS. 23A and 23B, phase difference pixels for focal direction detection configured to have an aperture ratio of 85% are illustrated, and such a configuration is referred to as HB85. Although not illustrated in FIGS. 23A and 23B, phase difference pixels may also be configured in a vertical direction, and such a configuration is referred to as VB85.

FIG. 24 illustrates a combined configuration of the phase difference pixels illustrated in FIGS. 22A, 22B, 23A, and 23B, according to an embodiment.

Referring to FIG. 24, HAs are arranged at a central area of an imaging device, and the HAs are also arranged at a left upper side, a right upper side, a left lower side, and a right lower side of the central area. A plurality of HB70s are arranged around the areas in which the HAs are arranged. VAs are arranged on a left side, a right side, an upper side, and a lower side of the central area, a plurality of VB70s are arranged therearound, a plurality of HB85s are arranged between the areas in which the plurality of HB70s and the plurality of VB70s are arranged, and a plurality of VB85s are arranged on left and right sides of the areas in which the plurality of HB85s, the plurality of HB70s, and a plurality of VB70s are arranged.

Such a configuration may be made considering the quality of captured images, and made to improve an aperture ratio of edge regions. An imaging device including such a configuration has an effect of correcting shading by an imaging lens, and may exhibit a focal position detection ability and increased quality of images.

FIGS. 25A and 25B illustrate the phase difference pixels illustrated in FIGS. 19A and 19B configured in a horizontal direction, according to another embodiment.

FIG. 25A illustrates a configuration of a color filter and the R pixel 93 and a configuration of a color filter and the L pixel 98, and FIG. 25B illustrates arrangements of the masks 94 and 99. In FIG. 25A, only G pixels are configured as phase difference pixels for focal position detection, and R and B pixels are configured as phase difference pixels for focal direction detection. Such a configuration is referred to as HC. Although the G pixels have a smaller aperture ratio than the R and B pixels, the number of G pixels is twice that of either of the R and B pixels, and thus degradation of image quality may not occur.

FIGS. 26A and 26B illustrate the phase difference pixels of FIGS. 25A and 25B configured in a vertical direction, according to an embodiment. FIG. 26A illustrates a configuration of a color filter and the R pixel 93 and a configuration of a color filter and the L pixel 98, and FIG. 26B illustrates arrangements of the masks 94 and 99. Such a configuration is referred to as VC.

FIG. 27 illustrates a combined configuration of the phase difference pixels of FIGS. 25A, 25B, 26A, and 26B, according to an embodiment.

Such a configuration in FIG. 27 may be made considering the quality of captured images rather than considering an imaging device itself. HAs are arranged at nine areas including a central area of an imaging device, HAs and a plurality of HA25s are both arranged at the central area, HCs are arranged between the areas in which the HAs are arranged, and VCs are arranged at 12 areas on left and right sides of the areas in which the HAs are arranged. This is a basic configuration. VBs are arranged between the areas in which the HAs and the VCs are arranged. HBs are arranged on upper and lower sides of the basic configuration, and VBs are arranged on left and right sides of the basic configuration.

The configuration of FIG. 27 may be made for detecting multifocal points corresponding to several subjects, and an imaging device including such a configuration may have good image quality.

FIG. 28 illustrates a combined configuration of the phase difference pixels of FIG. 27, according to another embodiment.

HCs are arranged at a central area and HCs are further arranged in multi-lines on upper and lower sides of the central area, and VCs are arranged in multi-lines where the HCs and the VCs cross each other. HBs are arranged between the areas in which the HCs and the VCs are arranged. VBs are arranged on outermost left and right sides of the imaging device. An imaging device having such a configuration may set a focal point detection area at any position by setting multifocal point detection scores using software and thus may be used widely.

FIGS. 29A and 29B illustrate a configuration of the phase difference pixels of FIGS. 25A and 25B, according to another embodiment.

Referring to FIGS. 29A and 29B, one of the G pixels in the Bayer pattern pixel structure is replaced by a white (W) pixel. In other words, one of the two G pixels of the Bayer pattern pixel structure is removed. The W pixels are configured as phase difference pixels in a horizontal direction for focal position detection, and R, G, and B pixels are configured as phase difference pixels in a horizontal direction for focal direction detection. The configuration of the imaging device illustrated in FIGS. 29A and 29B is referred to as HAW. Although not illustrated in FIGS. 29A and 29B, phase difference pixels may be configured in a vertical direction, and such a configuration is referred to as VAW. In addition, the imaging device may have a configuration in which the HCs and the VCs of FIGS. 27 and 28 are replaced by HAWs and VAWs.

The configuration of phase difference pixels described above is used to detect phase difference in a horizontal or vertical direction. However, phase difference pixels may be arranged in a concentric circle with respect to an optical axis of an imaging lens to detect phase difference. By using such a configuration, symmetry of a subject may be easily obtained. In this case, focal position detection error with respect to light from a pupil of an imaging lens is small. In addition, with respect to a subject with contrast that is distributed slantingly, there is a possibility of error occurrence in focal position detection by error occurrence in fabrication of a mask formed in an optical aperture of a pixel. FIGS. 30A through 33B illustrate configurations of phase difference pixels arranged in an inclined direction, wherein phase difference information may be detected with respect to the inclined direction, according to various embodiments.

FIGS. 30A and 30B illustrate an MA configuration of phase difference pixels for detecting a focal position by detecting phase difference with respect to right, upper, left, and lower directions, according to an embodiment. MA denotes a D pixel row that corresponds to the L pixel illustrated in FIG. 2. Phase difference calculation is performed using GDa, RDa, GDa, BDa, GDa, RDa, GDa, . . . , and phase difference calculation is performed using BUa, GUa, RUa, GUa, BUa, . . . , that is, a U pixel row corresponding to the R pixel illustrated in FIG. 2.

FIGS. 31A and 31B illustrate an NA configuration of phase difference pixels for detecting a focal position by detecting phase difference with respect to left, upper, right, and lower directions, according to an embodiment. The NA configuration is made in a direction converse to the MA configuration.

FIGS. 32A and 32B illustrate an MB configuration of phase difference pixels for detecting a focal direction by detecting phase difference with respect to right, upper, left, and lower directions, according to an embodiment. The MB configuration has an aperture ratio of more than 50%, an optical aperture of which includes an optical axis of an imaging lens.

FIGS. 33A and 33B illustrate an NB configuration of phase difference pixels for detecting a focal direction by detecting phase difference with respect to left, upper, right, and lower directions, according to an embodiment. The NB configuration is made in a direction converse to the MB configuration.

FIG. 34 illustrates a combined configuration of the phase difference pixels of FIGS. 30A, 30B, 31A, 31B, 32A, 32B, 33A, and 33B, according to an embodiment.

The configuration of FIG. 34 is for multifocal point detection at nine areas. Referring to FIG. 34, HAs, VAs, and HVAs are arranged at a central area and further arranged on upper, lower, left, and right sides of the central area, and MAs and NAs for focal position detection are arranged in an inclined direction at four areas on left, right, upper, and lower directions of the central area. A detection direction of phase difference information is set in a concentric circle direction with respect to an optical axis of an imaging lens. HBs used to detect a focal direction in a horizontal direction are arranged around the central area, and MBs and NBs are arranged in an inclined direction on upper and lower sides of left and right slopes. In addition, VBs used to detect a focal direction in a vertical direction are arranged on outermost sides of the imaging device.

FIGS. 35A and 35B are flowcharts illustrating an operation of a method of adjusting a focal point by using a phase difference imaging device, according to an embodiment.

The method illustrated in FIGS. 35A and 35B is performed using the digital image processing device 100 of FIG. 1 capable of performing contrast AF by using image output from the imaging device 108 with the configuration of phase difference pixels of FIG. 15. In the phase difference pixels illustrated in FIG. 15, phase difference pixels for focal position information and phase difference pixels for focal direction information are mixed.

When a first shutter-release button 51 of the digital image processing device 100 is switched on (operation S100), image information from the imaging device 108 is input to an image processing circuit (operation S101). In this regard, the image processing circuit may be the CPU 106, the analogue signal processing unit 109, the A/D conversion unit 110, the image input controller 111, the digital signal processing unit 112, the compression/decompression unit 113, a video controller 114, the AWB detection unit 116, the AE detection unit 117, the AF detection unit 118, and the media controller 121 of FIG. 1. The image processing circuit may be commonly referred to as an IC and may be the CPU 106 of the digital image processing device 100.

Next, the CPU 106 receives signals of phase difference pixels in horizontal and vertical directions, i.e., HA and VA pixels (operation S102). The signals of the HA and VA pixels are used as information for focal position detection performed using the phase difference detection illustrated in FIGS. 9A, 9B, 10A, and 10B.

Subsequently, the CPU 106 calculates correlation between the signals of the HA and VA pixels to detect phase difference in horizontal and vertical directions (operation S103).

Next, the CPU 106 determines whether focal position detection is possible from the phase difference detection (operation S104). If a subject has a low contrast or is dark, the focal position detection may be impossible.

As a result of determination, if the focal position detection is possible, the CPU 106 selects the nearest focal position in horizontal and vertical directions from the detected focal positions in horizontal and vertical directions (operation S105).

When the nearest focal position is selected, the CPU 106 controls the lens operation unit 103 to drive the focus lens 102 to the nearest focal position (operation S106).

When the focus lens 102 is driven to the nearest focal position, an in-focus state is displayed (operation S107) and AF is then terminated. A detailed description of phase difference AF has been described so far.

On the other hand, as a result of determination by the CPU 106, if the focal position detection is impossible, the CPU 106 receives signals of phase difference pixels in horizontal and vertical directions, i.e., HB and VB pixels (operation S108). The signals of the HB and VB pixels are used as information for focal direction detection performed using the phase difference detection illustrated in FIGS. 12A, 12B, 13A, and 13B.

Subsequently, the CPU 106 calculates correlation between the signals of the HB and VB pixels to detect phase difference in horizontal and vertical directions and determines whether focal direction detection is possible therefrom (operation S109).

If the focal direction detection is possible, the CPU 106 sets a focal direction for driving the focus lens 102 (operation S110).

When the focal direction is set, the CPU 106 drives the focus lens 102 in the focal direction while performing AF detection of contrast AF. In other words, the CPU 106 performs contrast AF scan.

If the focal direction detection is impossible, however, the CPU 106 sets a driving direction of the focus lens 102 to a direction in which a subject is near to the digital image processing device 100, i.e., a near direction (operation S111) and drives the focus lens 102 in the focal direction while performing AF detection of contrast AF (operation S112). In other words, the CPU 106 performs contrast AF scan.

Subsequently, the CPU 106 determines whether to detect a contrast peak by the contrast AF scan (operation (S113), and if the contrast peak detection is possible, the CPU 106 drives the focus lens 102 to a position of the peak (operation S114). In this regard, the position of the peak is a focal position. Thereafter, an in-focus state is displayed (operation S107) and AF is terminated.

However, if the contrast peak detection is impossible even when contrast AF scanning is performed by moving the focus lens 102 over a wide range, the driving direction of the focus lens 102 is changed to a direction in which the subject is far from the digital image processing device 100 and reverse contrast AF scanning is then continuously performed (operation S115).

It is again determined whether a contrast peak is detected (operation S116), and when the contrast peak is detected, the focus lens 102 is driven to the peak position (operation S114). Thereafter, an in-focus state is displayed (operation S107) and AF is then terminated.

If the contrast peak is not detected, however, AF not working is displayed (operation S117) and AF is then terminated.

In this embodiment, it is possible to detect phase difference by using HA and VA phase difference pixels, and thus the in-focus state is obtained most rapidly when a focal position is detected by the phase difference detection. In addition, it is possible to detect phase difference by using HB and VB phase difference pixels, and thus the in-focus state is obtained relatively fast when a focal direction is detected by the phase difference detection. If the focal position and direction are not detected by the phase difference detection, contrast AF is only performed and thus AF time is delayed.

FIG. 36 is a flowchart illustrating an operation of a method of adjusting a focal point by using a phase difference imaging device, according to another embodiment.

The method illustrated in FIG. 36 is performed using the digital image processing device 100 of FIG. 1 capable of performing contrast AF by using image output from the imaging device 108 with the configuration of phase difference pixels of FIG. 16. The phase difference pixels illustrated in FIG. 16 are used to obtain focal position information.

When a first shutter-release button S1 of the digital image processing device 100 is switched on (operation S200), image information from the imaging device 108 is input to an image processing circuit (operation S201).

Next, the CPU 106 receives signals of phase difference pixels in horizontal and vertical directions, i.e., HA and VA pixels (operation S202). The signals of the HA and VA pixels are used as information for focal position detection performed using the phase difference detection illustrated in FIGS. 9A, 9B, 10A, and 10B.

Subsequently, the CPU 106 calculates correlation between the signals of the HA and VA pixels to detect phase difference in horizontal and vertical directions (operation S203).

Next, the CPU 106 determines whether focal position detection is possible from the phase difference detection of entire HA and VA pixels (operation S204). If a subject has a low contrast or is dark, the focal position detection may be impossible.

As a result of determination, if the focal position detection is possible from the entire HA and VA pixels, the CPU 106 selects the nearest focal position in horizontal and vertical directions from the detected focal positions in horizontal and vertical directions (operation S205).

When the nearest focal position is selected, the CPU 106 controls the lens operation unit 103 to drive the focus lens 102 to the nearest focal position (operation S206).

When the focus lens 102 is driven to the nearest focal position, an in-focus state is displayed (operation S207) and AF is then terminated.

On the other hand, as a result of determination by the CPU 106, if the focal position detection is impossible from the entire HA and VA pixels (operation S204), the CPU 106 sets a driving direction of the focus lens 102 to a near direction (operation S208) and performs contrast AF scanning by moving the focus lens 102 while performing AF detection (operation S209).

Subsequently, the CPU 106 determines whether to detect a contrast peak by the contrast AF scanning (operation S210), and if the contrast peak detection is possible, the CPU 106 drives the focus lens 102 to a position of the peak (operation S211). In this regard, the position of the peak is a focal position. Thereafter, an in-focus state is displayed (operation S207) and AF is terminated.

However, if the contrast peak detection is impossible even when contrast AF scanning is performed by moving the focus lens 102 over a wide range, the driving direction of the focus lens 102 is changed to a direction in which the subject is far from the digital image processing device 100 and reverse contrast AF scanning is then continuously performed (operation S212).

It is again determined whether a contrast peak is detected (operation S213), and when the contrast peak is detected, the focus lens 102 is driven to the peak position (operation S211). Thereafter, an in-focus state is displayed (operation S207) and AF is then terminated.

If the contrast peak is not detected (operation S213), however, AF not working is displayed (operation S214) and AF is then terminated.

FIGS. 37A and 37B are flowcharts illustrating an operation of a method of adjusting a focal point by using a phase difference imaging device, according to another embodiment.

The method illustrated in FIGS. 37A and 37B is performed using the digital image processing device 100 of FIG. 1 capable of performing contrast AF by using image output from the imaging device 108 with the configuration of phase difference pixels of FIG. 24. The phase difference pixels of FIG. 24 include a plurality of types of phase difference pixels for focal position information and a plurality of types of phase difference pixels for focal direction information. In other words, 6 types of phase difference pixels are mixed in the phase difference pixel configuration of FIG. 24.

When a first shutter-release button 51 of the digital image processing device 100 is switched on (operation S300), image information from the imaging device 108 is input to an image processing circuit (operation S301).

Next, the CPU 106 receives signals of phase difference pixels in horizontal and vertical directions, i.e., HA and VA pixels and, in particular, performs binning on a plurality of adjacent pixels to increase an output sensitivity of the pixels (operation S302).

Subsequently, the CPU 106 calculates correlation between the signals of the HA and VA pixels to detect phase difference in horizontal and vertical directions (operation S303).

Next, the CPU 106 determines whether focal position detection is possible from the phase difference detection (operation S304). If a subject has a low contrast or is dark, the focal position detection may be impossible.

As a result of determination, if the focal position detection is possible, the CPU 106 selects the nearest focal position in horizontal and vertical directions from the detected focal positions in horizontal and vertical directions (operation S305).

When the nearest focal position is selected, the CPU 106 controls the lens operation unit 103 to drive the focus lens 102 to the nearest focal position (operation S306).

When the focus lens 102 is driven to the nearest focal position, an in-focus state is displayed (operation S307) and AF is then terminated.

On the other hand, as a result of determination by the CPU 106, if the focal position detection is impossible (operation S304), the CPU 106 receives signals of phase difference pixels in horizontal and vertical directions, i.e., HB70 and VB70 pixels and, in particular, performs binning on a plurality of adjacent pixels to increase the output sensitivity thereof (operation S308). Although it may not be possible to obtain accurate focal position information from signal output of the HB70 and VB70 pixels due to crosstalk between the adjacent pixels, it is possible to obtain rough information on focal position and direction.

Subsequently, the CPU 106 calculates correlation between the signals of the HB70 and VB70 pixels to detect phase difference in horizontal and vertical directions and determines whether to detect a roughly-estimated focal position and a focal direction therefrom (operation S309).

When the detection of the roughly-estimated focal position and the focal direction is possible, the CPU 106 drives the focus lens 102 to the roughly-estimated focal position (operation S310).

To determine a particular focal position, contrast AF is performed in vicinity of an in-focus position (operation S311). In this regard, the contrast AF indicates that fine scanning in which the focus lens 102 is driven at a low speed is performed while AF detection is performed.

Subsequently, the CPU 106 determines whether to detect a contrast peak by the contrast AF scanning (operation S312), and if the contrast peak detection is possible, the CPU 106 drives the focus lens 102 to a position of the peak (operation S313). In this regard, the position of the peak is a focal position. Thereafter, an in-focus state is displayed (operation S307) and AF is terminated.

If the contrast peak detection is impossible (operation S312), however, AF not working is displayed (operation S318) and AF is terminated.

If the detection of the roughly-estimated focal position and the focal direction is impossible in the operation S309, the CPU 106 receives signals of phase difference pixels in horizontal and vertical directions, i.e., HB85 and VB85 pixels and, in particular, performs binning on a plurality of pixels adjacent thereto to increase the output sensitivity thereof (operation S314). The signals of the HB85 and VB85 pixels are less accurate than the signals of the HB70 and VB70 pixels, but may be used to obtain rough focal position information.

Subsequently, the CPU 106 calculates correlation between the signals of the HB85 and VB85 pixels to detect phase difference in horizontal and vertical directions and determines whether to detect a roughly-estimated focal position and a focal direction therefrom (operation S315). When the detection of the roughly-estimated focal position and the focal direction is possible, operation S310 and subsequent operations are performed.

If the detection of the roughly-estimated focal position and the focal direction is impossible (operation S315), however, contrast AF is performed (operation S316). In this regard, the contrast AF indicates that rough scanning in which the focus lens 102 is driven at a high speed is performed while AF detection is performed.

Subsequently, the CPU 106 determines whether a contrast peak is detectable by the contrast AF scanning (operation S317). If the contrast peak detection is possible, operation S311 and subsequent operations are performed. On the other hand, if the contrast peak detection is impossible (operation S317), AF not working is displayed (operation S318) and AF is terminated.

As described above, according to the one or more embodiments, phase difference detection is performed using entire pixels without addition of pixels and focal position and direction are obtained therefrom, whereby a probability of AF success increases, AF time is shortened, and high-quality captured images are obtained.

All references, including publications, patent applications, and patents, cited herein are hereby incorporated by reference to the same extent as if each reference were individually and specifically indicated to be incorporated by reference and were set forth in its entirety herein.

For the purposes of promoting an understanding of the principles of the invention, reference has been made to the embodiments illustrated in the drawings, and specific language has been used to describe these embodiments. However, no limitation of the scope of the invention is intended by this specific language, and the invention should be construed to encompass all embodiments that would normally occur to one of ordinary skill in the art. The terminology used herein is for the purpose of describing the particular embodiments and is not intended to be limiting of exemplary embodiments of the invention. In the description of the embodiments, certain detailed explanations of related art are omitted when it is deemed that they may unnecessarily obscure the essence of the invention.

The apparatus described herein may comprise a processor, a memory for storing program data to be executed by the processor, a permanent storage such as a disk drive, a communications port for handling communications with external devices, and user interface devices, including a display, touch panel, keys, buttons, etc. When software modules are involved, these software modules may be stored as program instructions or computer readable code executable by the processor on a non-transitory computer-readable media such as magnetic storage media (e.g., magnetic tapes, hard disks, floppy disks), optical recording media (e.g., CD-ROMs, Digital Versatile Discs (DVDs), etc.), and solid state memory (e.g., random-access memory (RAM), read-only memory (ROM), static random-access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), flash memory, thumb drives, etc.). The computer readable recording media may also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion. This computer readable recording media may be read by the computer, stored in the memory, and executed by the processor.

Also, using the disclosure herein, programmers of ordinary skill in the art to which the invention pertains may easily implement functional programs, codes, and code segments for making and using the invention.

The invention may be described in terms of functional block components and various processing steps. Such functional blocks may be realized by any number of hardware and/or software components configured to perform the specified functions. For example, the invention may employ various integrated circuit components, e.g., memory elements, processing elements, logic elements, look-up tables, and the like, which may carry out a variety of functions under the control of one or more microprocessors or other control devices. Similarly, where the elements of the invention are implemented using software programming or software elements, the invention may be implemented with any programming or scripting language such as C, C++, Java, assembler, or the like, with the various algorithms being implemented with any combination of data structures, objects, processes, routines or other programming elements. Functional aspects may be implemented in algorithms that execute on one or more processors. Furthermore, the invention may employ any number of conventional techniques for electronics configuration, signal processing and/or control, data processing and the like. Finally, the steps of all methods described herein may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context.

For the sake of brevity, conventional electronics, control systems, software development and other functional aspects of the systems (and components of the individual operating components of the systems) may not be described in detail. Furthermore, the connecting lines, or connectors shown in the various figures presented are intended to represent exemplary functional relationships and/or physical or logical couplings between the various elements. It should be noted that many alternative or additional functional relationships, physical connections or logical connections may be present in a practical device. The words “mechanism”, “element”, “means”, and “construction” are used broadly and are not limited to mechanical or physical embodiments, but may include software routines in conjunction with processors, etc.

The use of any and all examples, or exemplary language (e.g., “such as”) provided herein, is intended merely to better illuminate the invention and does not pose a limitation on the scope of the invention unless otherwise claimed. Numerous modifications and adaptations will be readily apparent to those of ordinary skill in this art without departing from the spirit and scope of the invention as defined by the following claims. Therefore, the scope of the invention is defined not by the detailed description of the invention but by the following claims, and all differences within the scope will be construed as being included in the invention.

No item or component is essential to the practice of the invention unless the element is specifically described as “essential” or “critical”. It will also be recognized that the terms “comprises,” “comprising,” “includes,” “including,” “has,” and “having,” as used herein, are specifically intended to be read as open-ended terms of art. The use of the terms “a” and “an” and “the” and similar referents in the context of describing the invention (especially in the context of the following claims) are to be construed to cover both the singular and the plural, unless the context clearly indicates otherwise. In addition, it should be understood that although the terms “first,” “second,” etc. may be used herein to describe various elements, these elements should not be limited by these terms, which are only used to distinguish one element from another. Furthermore, recitation of ranges of values herein are merely intended to serve as a shorthand method of referring individually to each separate value falling within the range, unless otherwise indicated herein, and each separate value is incorporated into the specification as if it were individually recited herein. 

What is claimed is:
 1. An apparatus for adjusting a focal point, the apparatus comprising: an imaging device comprising a plurality of pixels each comprising an optical aperture disposed between a micro lens and a photoelectric conversion unit, each optical aperture being eccentric with respect to an optical axis of the respective micro lens, the imaging device configured to output a phase difference signal; and a control unit that detects a focal position or a focal direction from the phase difference signal detected from the plurality of pixels of the imaging device to drive a focus lens and that adjusts a focal point, wherein the plurality of pixels has at least two different mask types comprising a plurality of first pixels each having a first optical aperture including a first optical axis and a plurality of second pixels each having a second optical aperture not including a second optical axis, wherein the control unit detects the focal position from a phase difference signal according to the second pixels if the phase difference signal according to the second pixels is obtainable and controls the focus lens to be driven to the focal position, and wherein the control unit detects the focal direction by obtaining a phase difference signal according to the first pixels if the phase difference signal according to the second pixels is not obtainable, and controls the focus lens to be driven in the detected focal direction.
 2. An apparatus for adjusting a focal point, the apparatus comprising: an imaging device comprising: a plurality of first pixels each having a first optical aperture disposed between a first micro lens and a first photoelectric conversion unit, the first optical aperture being eccentric with respect to a first optical axis of the first micro lens and comprising the first optical axis, and a plurality of second pixels each having a second optical aperture disposed between a second micro lens and a second photoelectric conversion unit, the second optical aperture being eccentric with respect to a second optical axis of the second micro lens, the second optical aperture either not contacting the second optical axis or contacting but not including the second optical axis, wherein the pixels and the second pixels have different masks, the imaging device configured to output phase difference signals according to an output phase difference exhibited by the first and second pixels; and a control unit that detects a focal position from a phase difference signal according to the second pixels of the imaging device if the phase difference signal according to the second pixels is obtainable, that detects a focal direction from a phase difference signal according to the first pixels of the imaging device if the phase difference signal according to the second pixels is not obtainable, and that drives a focus lens to adjust a focal point.
 3. The apparatus of claim 2, wherein the focal direction is a driving direction of the focus lens to an in-focus position and indicates a near direction or a far direction.
 4. The apparatus of claim 3, wherein the control unit controls the focus lens to be driven in vicinity of the in-focus position according to the focal direction and then controls the focus lens to be driven to the in-focus position by performing contrast autofocus (AF).
 5. The apparatus of claim 3, wherein the control unit controls the focus lens to be driven in the focal direction according to the phase difference signal according to the first pixels and controls the focus lens to be driven to the in-focus position by performing contrast autofocus (AF).
 6. The apparatus of claim 2, wherein the second pixels are positioned in a certain region of the imaging device to detect the focal position from the phase difference signal according to the second pixels and the first pixels are positioned in a region other than the certain region to detect the focal direction from the phase difference signal according to the first pixels.
 7. The apparatus of claim 3, wherein the control unit detects the focal position from the phase difference signal according to the second pixels if the phase difference signal according to the second pixels is obtainable and controls the focus lens to be driven to the in-focus position, and the control unit detects the focal direction by obtaining the phase difference signal according to the first pixels if the phase difference signal is not obtainable according to the second pixels is not obtainable, controls the focus lens to be driven in the detected focal direction, and controls the focus lens to be driven to the in-focus position by performing contrast autofocus (AF).
 8. The apparatus of claim 3, wherein the control unit detects the focal position from the phase difference signal according to the second pixels if the phase difference signal according to the second pixels is obtainable and controls the focus lens to be driven to the in-focus position, and the control unit detects the focal position and the focal direction by obtaining the phase difference signal according to the first pixels if the phase difference signal according to the second pixels is not obtainable, controls the focus lens to be driven in vicinity of the in-focus position, and controls the focus lens to be driven to the in-focus position by performing contrast autofocus (AF).
 9. A method of adjusting a focal point, the method comprising: detecting a phase difference signal from a plurality of pixels of an imaging device comprising an optical aperture disposed between a micro lens and a photoelectric conversion unit of each of the plurality of pixels, the optical aperture being eccentric with respect to an optical axis of the micro lens; outputting the phase difference signal; detecting a focal position or a focal direction from the phase difference signal; and driving a focus lens to adjust a focal point according to the detected focal position, wherein the plurality of pixels has at least two different mask types comprising a plurality of first pixels each having a first optical aperture including a first optical axis and a plurality of second pixels each having a second optical aperture not including a second optical axis, wherein the detecting comprises detecting the focal position from a phase difference signal according to the second pixels and the driving comprises driving the focus lens to the in-focus position, if the phase difference signal according to the second pixels is obtainable, and wherein the detecting comprises detecting the focal direction by obtaining the phase difference signal according to the first pixels and the driving comprises driving the focus lens in the detected focal direction, if the phase difference signal according to the second pixels is not obtainable.
 10. A method of adjusting a focal point, the method comprising: detecting a phase difference signal from an imaging device comprising a plurality of first pixels each having a first optical aperture disposed between a first micro lens and a first photoelectric conversion unit, the first optical aperture being eccentric with respect to a first optical axis of the first micro lens and comprising the first optical axis, and a plurality of second pixels each having a second optical aperture disposed between a second micro lens and a second photoelectric conversion unit, the second optical aperture being eccentric with respect to a second optical axis of the second micro lens, the second optical aperture either not contacting the second optical axis or contacting but not including the second optical axis, wherein the first pixels and the second pixels have different masks; wherein the phase difference signal is detected according to an output phase difference exhibited by the first and second pixels; detecting a focal position from the phase difference signal according to the second pixels of the imaging device if the phase difference signal according to the second pixels is obtainable; and detecting a focal direction from the phase difference signal according to the first pixels of the imaging device if the phase difference signal according to the second pixels is not obtainable; and driving a focus lens to the detected focal position in the focal direction to adjust a focal point.
 11. The method of claim 10, wherein the focal direction is a driving direction of the focus lens to an in-focus position and indicates a near direction or a far direction.
 12. The method of claim 11, wherein the method comprises controlling the focus lens to be driven in vicinity of the in-focus position according to a focal direction signal according to the phase difference signal according to the first pixels and controlling the focus lens to be driven to the in-focus position by performing contrast autofocus (AF).
 13. The method of claim 11, wherein the method comprises controlling the focus lens to be driven in a focal direction according to a focal direction signal according to the phase difference signal according to the first pixels and controlling the focus lens to be driven to the in-focus position by performing contrast autofocus (AF).
 14. The method of claim 10, wherein the second pixels are positioned in a certain region of the imaging device to detect a focal position according to a corresponding phase difference signal and the first pixels are positioned in a region other than the certain region to detect a focal direction from a corresponding phase difference signal.
 15. The method of claim 11, wherein the method comprises detecting a focal position from the phase difference signal according to the second pixels if the phase difference signal according to the second pixels is obtainable and controlling the focus lens to be driven to an in-focus position, and detecting a focal direction by obtaining the phase difference signal according to the first pixels if the phase difference signal according to the second pixels is not obtainable, controlling the focus lens to be driven in the detected focal direction, and controlling the focus lens to be driven to an in-focus position by performing contrast autofocus (AF).
 16. The method of claim 11, wherein the method comprises detecting a focal position from the phase difference signal according to the second pixels if the phase difference signal according to the second pixels is obtainable and controlling the focus lens to be driven to an in-focus position, and detecting a focal position and a focal direction by obtaining the phase difference signal according to the first pixels if the phase difference signal from according to the second pixels is not obtainable, controlling the focus lens to be driven in vicinity of the in-focus position, and controlling the focus lens to be driven to the in-focus position by performing contrast autofocus (AF). 